package com.huaxin.hxmodulestatisticalanalysis.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class PowerMeterKpiDTO {
    @Schema(description = "最大相电流 (A)")
    private Double maxPhaseCurrentA;     // 最大相电流 (A)
    @Schema(description = "总有功功率 (kW)")
    private Double totalActivePowerKw;   // 总有功功率 (kW)

    public static PowerMeterKpiDTO empty() {
        PowerMeterKpiDTO dto = new PowerMeterKpiDTO();
        dto.setMaxPhaseCurrentA(0.0);
        dto.setTotalActivePowerKw(0.0);
        return dto;
    }
}